import {call,put} from 'redux-saga/effects'
import { CHANGE_ADMIN_INFO, CHANGE_LOGIN_STATE, } from '../../store/type'
export function* changeAdminInfo(actions){
    yield put({
        type:CHANGE_ADMIN_INFO,
        payload:actions.payload.data
    })
}
export function* changeLoginState(actions){
    yield put({
        type:CHANGE_LOGIN_STATE,
        payload:actions.payload
    })
}